package obj.day1;

/**
 * @author げっしょく
 * @date 2021/7/15
 */
public class Employee {
    private String name;
    private int age;
    private int menoy;

    public Employee() {
    }

    public Employee(String name, int age, int menoy) {
        this.name = name;
        this.age = age;
        this.menoy = menoy;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getMenoy() {
        return menoy;
    }

    public void setMenoy(int menoy) {
        this.menoy = menoy;
    }

    public void work(){
        System.out.println("疯狂敲键盘！！");
    }
}
